this.BX=this.BX||{};this.BX.Landing=this.BX.Landing||{};(function(e,i,t){"use strict";i.Event.bind(document,"click",(function(e){if(i.Type.isDomNode(e.target)){var a=e.target.closest("a:not(.ui-btn):not([data-fancybox])");if(i.Type.isDomNode(a)){var n=i.Type.isStringFilled(a.href)&&a.hash!==""&&a.pathname===document.location.pathname&&a.hostname===document.location.hostname;if(i.Type.isStringFilled(a.href)&&a.target!=="_blank"&&!n){e.preventDefault();BX.Landing.Pub.TopPanel.pushHistory(a.href);void t.SliderHacks.reloadSlider(a.href)}}var o=e.target.closest("[data-pseudo-url]");if(i.Type.isDomNode(o)){var r=i.Dom.attr(o,"data-pseudo-url");if(i.Text.toBoolean(r.enabled)&&i.Type.isStringFilled(r.href)&&r.href.indexOf("/bitrix/services/main/ajax.php?action=landing.api.diskFile.download")!==0){if(r.query){r.href+=r.href.indexOf("?")===-1?"?":"&";r.href+=r.query}if(r.target==="_self"){e.stopImmediatePropagation();BX.Landing.Pub.TopPanel.pushHistory(r.href);void t.SliderHacks.reloadSlider(r.href)}else{top.open(r.href,r.target)}}}}}))})(this.BX.Landing.Wiki=this.BX.Landing.Wiki||{},BX,BX.Landing);
//# sourceMappingURL=public.bundle.map.js